package study.designpattern.decorator;

public class HorizontalScrollBarDecorator extends WindowDecorator{

    public HorizontalScrollBarDecorator(Window decoratedWindow) {
        super(decoratedWindow);
    }
    
    @Override
    public void draw() {
        this.window.draw();
        drawHorizontalScrollBar();
    }
 
    private void drawHorizontalScrollBar() {
        // draw the horizontal scrollbar
    }
 
    @Override
    public String getDescription() {
        return this.window.getDescription() + ", including horizontal scrollbars";
    }

}
